<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		
		<title></title>
		
	</head>
	<body>
		<script>
			var arr=[1,2,6,9,0,1,2,3,6,6,7,8,6,7];
for(var i=0;i< arr.length;i++){
      for(var j=i+1;j< arr.length;j++){
          if(arr[i]==arr[j]){
              arr.splice(j,1);
              j--;
          }
      }
}alert(arr);
		</script>
	</body>
</html>

